package com.yesjpt;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
 * @author 风火连城
 */
@SpringBootApplication
public class HelloApp {
    public static void main(String[] args) {


        SpringApplication.run(HelloApp.class, args);
		/*
		WebSocketConn conn = new WebSocketConn();
		System.out.println("正在启动hello驻留的内部WebSocket客户端");
		WebSocketClient client = conn.Connect("ws://localhost:8081/websocket/hello_client");
		if(client != null && client.getReadyState().equals(ReadyState.OPEN)) {
			L.i("正在发送消息。。。");
			JSONObject o = new JSONObject();
			o.put("cid", "hello_client");
			o.put("toCid", "hello_client");
			o.put("message", "太好了");
			client.send(o.toJSONString());
			//client.close();
		}
		*/
		System.out.println("\n\n\n不忘初心，牢记使命，交通强国，铁路先行");
    }
}
